Install Instructions:

Download any version of Linux Kernel source code (ideally 6.1.26 or newer).

Place fan251015.c, Makefile, and Kconfig in path linux-X.X.X/drivers/hwmon/pmbus (replace existing Kconfig and Makefile).

Compile Linux Kernel as usual, remember to enable support for fan251015 in menuconfig.

To declare fan251015 device on i2c bus write commands (you need to know the i2c bus number and slave address of fan251015, in this example mine was i2c-1 and 0x0f respectively):


modprobe fan251015

echo fan251015 0x0f > sys/bus/i2c/devices/i2c-1/new_device


Module Functions:

Reports Vin, Iin, Tempature, Vout, and Iout of fan251015 buck converter.
